@import '../../_utils/style/mixins/mixins.scss';
@import '../../_utils/style/theme/theme.scss';

@include b(switch) {
  $prefix: &;

  background-color: $switch-background;
  &-loading-icon,
  &:after {
    background-color: $switch-after-bg;
  }

  @include e(checked, '-') {
    background-color: $switch-color;
  }

  &-loading &-loading-icon {
    color: $switch-loading-text-color;
  }
}
